package net.maku.module.train.convert;

import net.maku.module.train.entity.TrainStaffEntity;
import net.maku.module.train.vo.TrainStaffVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 业务_培训_员工
*
* @author    
*/
@Mapper
public interface TrainStaffConvert {
    TrainStaffConvert INSTANCE = Mappers.getMapper(TrainStaffConvert.class);

    TrainStaffEntity convert(TrainStaffVO vo);

    TrainStaffVO convert(TrainStaffEntity entity);

    List<TrainStaffVO> convertList(List<TrainStaffEntity> list);

}